<div class="fly-panel ">
    <div class="fly-panel-title ">
        <a href="{:url( 'web/Community/topicset')} " class="fly-link fly-joinad">最新动态 - 讨论区</a>
    </div>
    <ul class="fly-panel-main fly-list-static " id="newest-topic">
    </ul>

    <!-- <a href="#" class="fly-link fly-joinad">水边所点啥</a> -->
</div>
<script>
layui.use(['jquery', 'layer'], function() { //讨论区最新动态
    var $ = layui.jquery;
    var layer = layui.layer;
    $.ajax({
        url: "{:url( 'web/Community/get_newest_topic')} ",
        success: function(res) {
            $("#newest-topic").html(res);
        }
    });
    // $("#newest-topic ").
});
</script>